package com.yunxi.estate.domain;

import java.util.Date;

/**
 * 订单信息类
 *
 * @author 松子鱼
 */
public class OrderInfo {
    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 订单号
     */
    private String orderNum;

    /**
     * 居民ID
     */
    private Long residentId;

    /**
     * 配送员ID
     */
    private Long riderId;

    /**
     * 配送物品ID
     */
    private Integer goodsId;

    /**
     * 配送数量
     */
    private Integer quantity;

    /**
     * 配送奖励值
     */
    private String orderReward;

    /**
     * 订单类型(0居民快递 1爱心物资)
     */
    private String orderType;

    /**
     * 下单时间
     */
    private Date orderTime;

    /**
     * 收货时间
     */
    private Date consignTime;

    /**
     * 预计收货时间
     */
    private Date predictTime;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Long getResidentId() {
        return residentId;
    }

    public void setResidentId(Long residentId) {
        this.residentId = residentId;
    }

    public Long getRiderId() {
        return riderId;
    }

    public void setRiderId(Long riderId) {
        this.riderId = riderId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getOrderReward() {
        return orderReward;
    }

    public void setOrderReward(String orderReward) {
        this.orderReward = orderReward;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Date getConsignTime() {
        return consignTime;
    }

    public void setConsignTime(Date consignTime) {
        this.consignTime = consignTime;
    }

    public Date getPredictTime() {
        return predictTime;
    }

    public void setPredictTime(Date predictTime) {
        this.predictTime = predictTime;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "orderId=" + orderId +
                ", orderNum='" + orderNum + '\'' +
                ", residentId=" + residentId +
                ", riderId=" + riderId +
                ", goodsId=" + goodsId +
                ", quantity=" + quantity +
                ", orderReward='" + orderReward + '\'' +
                ", orderType='" + orderType + '\'' +
                ", orderTime=" + orderTime +
                ", consignTime=" + consignTime +
                ", predictTime=" + predictTime +
                '}';
    }
}
